package com.kex.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/users") // 类级别：基础路径
public class UserController {

    @RequestMapping(method = RequestMethod.GET)
    public String getAllUsers() {
        return "Hello World";
    }

}